package com.htandroid.htandroid.entity;

import java.io.Serializable;

//
public class MrqgdSpList implements Serializable {
	private String cvouchid;
	private String cvouchnum;
	private String ddate;
	private String dtime;
	private String cdepcode;
	private String cdepname;
	private String cmaker;
	private String cchecker;
	private String ccheckerdate;
	private String cdepchecker;
	private String dckdate;
	private String cbuyer;
	private String cmemo;
	private String cdefine1;
	private String cdefine2;
	private String cdefine3;
	private String cdefine4;
	private String cchar;
	private String clinecode;
	private String linename;
	private String ccheckchar;
	private String al_inorder;
	private String inorder;
	private String resign;
	private String stepall;

	// 对比list是否一样
	public boolean equals(Object obj) {
		if (obj == null)
			return false;
		if (this.getClass() != obj.getClass())
			return false;
		MrqgdSpList p = (MrqgdSpList) obj;
		if (!this.cvouchid.equals(p.cvouchid))
			return false;
		if (!this.cvouchnum.equals(p.cvouchnum))
			return false;
		if (!this.ddate.equals(p.ddate))
			return false;
		if (!this.cdepcode.equals(p.cdepcode))
			return false;
		if (!this.cdepname.equals(p.cdepname))
			return false;
		if (!this.dtime.equals(p.dtime))
			return false;
		if (!this.cmaker.equals(p.cmaker))
			return false;
		if (!this.ccheckerdate.equals(p.ccheckerdate))
			return false;
		if (!this.cchecker.equals(p.cchecker))
			return false;
		if (!this.cdepchecker.equals(p.cdepchecker))
			return false;
		if (!this.cdefine1.equals(p.cdefine1))
			return false;
		if (!this.cdefine2.equals(p.cdefine2))
			return false;
		if (!this.cdefine3.equals(p.cdefine3))
			return false;
		if (!this.cdefine4.equals(p.cdefine4))
			return false;
		if (!this.dckdate.equals(p.dckdate))
			return false;
		if (!this.cmemo.equals(p.cmemo))
			return false;
		if (!this.clinecode.equals(p.clinecode))
			return false;
		if (!this.al_inorder.equals(p.al_inorder))
			return false;
		if (!this.inorder.equals(p.inorder))
			return false;
		if (!this.linename.equals(p.linename))
			return false;
		if (!this.cbuyer.equals(p.cbuyer))
			return false;
		if (!this.ccheckchar.equals(p.ccheckchar))
			return false;
		if (!this.resign.equals(p.resign))
			return false;
		if (!this.cchar.equals(p.cchar))
			return false;
		if (!this.stepall.equals(p.stepall))
			return false;
		return true;
	}

	// 搜索时,查看内容是否匹配
	public boolean uffjqgdfind(String param) {
		if (this.cvouchid.contains(param))
			return true;
		if (this.cvouchnum.contains(param))
			return true;
		if (this.ddate.contains(param))
			return true;
		if (this.cdepcode.contains(param))
			return true;
		if (this.cdepname.contains(param))
			return true;
		if (this.dtime.contains(param))
			return true;
		if (this.cmaker.contains(param))
			return true;
		if (this.ccheckerdate.contains(param))
			return true;
		if (this.cchecker.contains(param))
			return true;
		if (this.cdepchecker.contains(param))
			return true;
		if (this.cdefine1.contains(param))
			return true;
		if (this.cdefine2.contains(param))
			return true;
		if (this.cdefine3.contains(param))
			return true;
		if (this.cdefine4.contains(param))
			return true;
		if (this.dckdate.contains(param))
			return true;
		if (this.cbuyer.contains(param))
			return true;
		if (this.cmemo.contains(param))
			return true;
		if (this.clinecode.contains(param))
			return true;
		if (this.al_inorder.contains(param))
			return true;
		if (this.linename.contains(param))
			return true;
		if (this.cbuyer.contains(param))
			return true;
		if (this.inorder.contains(param))
			return true;
		if (this.ccheckchar.contains(param))
			return true;
		if (this.resign.contains(param))
			return true;
		if (this.cchar.contains(param))
			return true;
		if (this.stepall.contains(param))
			return true;
		return false;
	}

	public String getCvouchid() {
		return cvouchid;
	}

	public void setCvouchid(String cvouchid) {
		this.cvouchid = cvouchid;
	}

	public String getCvouchnum() {
		return cvouchnum;
	}

	public void setCvouchnum(String cvouchnum) {
		this.cvouchnum = cvouchnum;
	}

	public String getDdate() {
		return ddate;
	}

	public void setDdate(String ddate) {
		this.ddate = ddate;
	}

	public String getDtime() {
		return dtime;
	}

	public void setDtime(String dtime) {
		this.dtime = dtime;
	}

	public String getCdepcode() {
		return cdepcode;
	}

	public void setCdepcode(String cdepcode) {
		this.cdepcode = cdepcode;
	}

	public String getCdepname() {
		return cdepname;
	}

	public void setCdepname(String cdepname) {
		this.cdepname = cdepname;
	}

	public String getCmaker() {
		return cmaker;
	}

	public void setCmaker(String cmaker) {
		this.cmaker = cmaker;
	}

	public String getCchecker() {
		return cchecker;
	}

	public void setCchecker(String cchecker) {
		this.cchecker = cchecker;
	}

	public String getCcheckerdate() {
		return ccheckerdate;
	}

	public void setCcheckerdate(String ccheckerdate) {
		this.ccheckerdate = ccheckerdate;
	}

	public String getCdepchecker() {
		return cdepchecker;
	}

	public void setCdepchecker(String cdepchecker) {
		this.cdepchecker = cdepchecker;
	}

	public String getDckdate() {
		return dckdate;
	}

	public void setDckdate(String dckdate) {
		this.dckdate = dckdate;
	}

	public String getCbuyer() {
		return cbuyer;
	}

	public void setCbuyer(String cbuyer) {
		this.cbuyer = cbuyer;
	}

	public String getCmemo() {
		return cmemo;
	}

	public void setCmemo(String cmemo) {
		this.cmemo = cmemo;
	}

	public String getCdefine1() {
		return cdefine1;
	}

	public void setCdefine1(String cdefine1) {
		this.cdefine1 = cdefine1;
	}

	public String getCdefine2() {
		return cdefine2;
	}

	public void setCdefine2(String cdefine2) {
		this.cdefine2 = cdefine2;
	}

	public String getCdefine3() {
		return cdefine3;
	}

	public void setCdefine3(String cdefine3) {
		this.cdefine3 = cdefine3;
	}

	public String getCdefine4() {
		return cdefine4;
	}

	public void setCdefine4(String cdefine4) {
		this.cdefine4 = cdefine4;
	}

	public String getCchar() {
		return cchar;
	}

	public void setCchar(String cchar) {
		this.cchar = cchar;
	}

	public String getClinecode() {
		return clinecode;
	}

	public void setClinecode(String clinecode) {
		this.clinecode = clinecode;
	}

	public String getLinename() {
		return linename;
	}

	public void setLinename(String linename) {
		this.linename = linename;
	}

	public String getCcheckchar() {
		return ccheckchar;
	}

	public void setCcheckchar(String ccheckchar) {
		this.ccheckchar = ccheckchar;
	}

	public String getAl_inorder() {
		return al_inorder;
	}

	public void setAl_inorder(String al_inorder) {
		this.al_inorder = al_inorder;
	}

	public String getInorder() {
		return inorder;
	}

	public void setInorder(String inorder) {
		this.inorder = inorder;
	}

	public String getResign() {
		return resign;
	}

	public void setResign(String resign) {
		this.resign = resign;
	}

	public String getStepall() {
		return stepall;
	}

	public void setStepall(String stepall) {
		this.stepall = stepall;
	}

}
